/**
 * 
 */
package org.maven.ear.jobss.mdc.spring.web.web;
import org.springframework.security.ldap.DefaultSpringSecurityContextSource;

/**
 * @author kyama
 *
 */
public class UserDefinedSpringSecurityContextSource extends DefaultSpringSecurityContextSource{

    public UserDefinedSpringSecurityContextSource(String providerUrl) {
	super(providerUrl);
	
    }
    
    @Override
    public void afterPropertiesSet() throws Exception
    {
       
        super.afterPropertiesSet();
        setUserDn("cn=Directory Manager");
        setPassword("admin");
    }

}
